﻿<?php
class tempo{
	public function execucao(){
		$sec = explode(" ",microtime());
		$tempo = $sec[1] + $sec[0];
		return $tempo;
	}
	
	public function formataTempo($fim, $inicio){
		return number_format(($fim-$inicio),2);
	}
}
?>